unit fServerDataModule;

interface

uses
  SysUtils, Classes,
  uROClient, uROPoweredByRemObjectsButton, uROClientIntf, uROServer,
  uROBinMessage, uROSuperTcpServer,
  uDAEngine, uDADriverManager, uDAClasses, uROSessions,
  uDAADODriver, uROEventRepository,SyncObjs;

type
  TServerDataModule = class(TDataModule)
    Server: TROSuperTcpServer;
    Message: TROBinMessage;
    ConnectionManager: TDAConnectionManager;
    DriverManager: TDADriverManager;
    SessionManager: TROInMemorySessionManager;
    ADODriver: TDAADODriver;
    ROEventRepository: TROInMemoryEventRepository;
    DataDictionary: TDADataDictionary;

    procedure DataModuleCreate(Sender: TObject);
  private
    { Private declarations }
  public
    { Public declarations }
  end;

var
  ServerDataModule: TServerDataModule;
  cApplicationPath: WideString;
  cADOConnectionString: WideString;
  UserIdListCs: TCriticalSection;
  UserIdList: TStringList;
  UserClientIDListCs: TCriticalSection;
  UserClientIDList: TStringList;
  gvApplicationVersion: Integer;
  gvCount: Integer=0;
const
  cClientFilesPath = 'clientfiles\';
  cDocPath = 'docs\';
  cVersionFile = 'fileversion.xml';

implementation

{$R *.dfm}

procedure TServerDataModule.DataModuleCreate(Sender: TObject);
begin
//  Server.Active := true;
end;

end.
